home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
351-375
/
369
/
fortune
/
fortune.install
< prev
next >
Wrap
Text File
|
1995-03-14
|
1KB
|
46 lines
; execute this file to install the fortune program in your sys: directories.
;
; The directory where the file are, must be the current directory.
;
; at the prompt, enter execute fortune.install <enter>
;
if not exists sys:c
echo "*n*n ERROR:
Can't find the sys:c directory.
*n*n"
quit
endif
if not exists sys:s
echo "*n*n ERROR:
Can't find the sys:s directory.
*n*n"
quit
endif
if not exists fortune
echo "*n*n ERROR:
Can't find the fortune program.
*n*n"
quit
endif
if not exists fortunes
echo "*n*n ERROR:
Can't find the fortunes file.
*n*n"
quit
endif
ask "*n*n*n*n Ready to install fortune, continue?
[ y n ]
"
if warn
copy fortune sys:c
copy fortunes sys:s
else
echo "*n*n*n Fortune was not installed by user request.*n*n*n"
quit
endif
echo "*n*n*n*n Fortune has been installed!"
echo "*n Simply type - fortune - at the CLI prompt and a fortune will be displayed.*n*n*n"
wait 2
echo " Like this......*n*n*n"
echo " fortune <enter>*n"
fortune
wait 2
echo " or try it like this: fortune -l <enter>*n"
fortune -l
echo "*n*n*n Maybe you like orange lines instead of black: fortune -3 <enter>"
fortune -3
echo "*n*nComplete, enjoy..........*n"